@charset "utf-8";
@import 'xxPublic';
.myHeader{
    background: $red;
    padding: 2rem;
    color: white;
    .memCon{
        display: flex;
        img{
            width: 60px; height: 60px;
            border-radius: 100%;
        }
        div{
            display: flex;
            flex-wrap: wrap;
            margin-left: 1rem;
            p{
                width: 100%;
                .memberName{
                    font-size: 1.5rem;
                }
            }
        }
    }
}
.dayProgress{
    width: 8rem; height: 0.6rem;
    display: block;
    margin-top: 0.2rem;
    border-radius: 20px;
    border: 1px solid white;
    position: relative;
    overflow: hidden;
    i{
        position: absolute;
        top: 0; left: 0;
        z-index: 1;
        background: white;
        width: 60%; height: 100%;
    }
}
.setIcon{
    img{
        width: 20px; height: 20px;
    }
}

.listImg{
    width: 28%;
}
.allOrders{
    display: flex;
    background: white;
    align-items: center;
    li{
        flex: 1;
        padding: 2rem 0;
        text-align: center;
        color: $smallTitle;
        position: relative;
        em{
            position: absolute;
            height: 60%;
            top: 20%;
            right: 0;
            z-index: 1;
            border-right: 1px solid $borderColor;
        }
        p{
            margin-top: 0.5rem;
            font-size: 1.2rem;
        }
        span{
            font-size: 1.8rem;
            font-weight: bold;
        }
    }
    li:first-child{
        background: #fff7f7;
    }
}

.ullist{
    background: white;
    color: $bigTitle;
    li{
        padding: 0 2rem;
        border-bottom: 1px solid $borderColor;
        height: 4rem;
        line-height: 4rem;
        font-size: 1.5rem;
    }
}
.colorRed{
    color: $red;
}


/*
 * 收货地址
 */
.noneaddrDiv{
    padding: 10rem 0;
    text-align: center;
}
.addAddrBtn{
    border: 1px solid $red;
    color: $red;
    padding: 0 3rem;
    height: 3.6rem;
    background: none;
    border-radius: 4px;
    font-size: 1.8rem;
}
.addAddrList,.defaultDiv{
    background: white;
    line-height: 4rem;
    padding: 0 2rem;
    li{
        border-bottom: 1px solid $borderColor;
        input{
            line-height: 4rem;
            border: none;
            outline: none;
        }
    }
}
.addrCon{
    background: white;
    padding: 0 2rem;
    margin-bottom: 2rem;
    .addrName{
        line-height: 4rem;
    }
    .addrEdit{
        border-top: 1px solid $borderColor;
        line-height: 4rem;
        span{
           i{
                background: url(../images/nochoosedIcon.png) no-repeat;
                background-size: cover;
                width: 14px; height: 14px;
                display: inline-block;
                vertical-align: middle;
                margin-right: 0.5rem;
                 
            }
            &.active{
                i{
                    background-image: url(../images/choosedIcon.png);
                }
                color:$red;
                }
        }
        button{
            border: 1px solid #a9a9a9;
            border-radius: 4px;
            padding: 0 1rem;
            background: none;
            height: 2rem;
            margin-left: 1rem;
        }
    }
}
.addAddrDiv{
    margin: 3rem auto;
}
.memberInfoList{
    padding: 0 2rem;
    background: white;
    li{
        align-items: center;
        line-height: 5rem;
        border-bottom: 1px solid $borderColor;
        img{
            width: 40px; height: 40px;
            border-radius: 100%;
        }   
    }
    li:last-child{
        border: none;
    }
}

.memberInfoName{
    color: $txtcolor;
}
.aboutusCon{
    background: white;
    padding: 1rem;
    margin-top: 1rem;
    .aboutTitle{
        border-left: 3px solid $red;
        padding-left: 0.5rem;
        color: $red;
    }
    .aboutCon{
        text-indent: 2em;
        line-height: 2rem;
    }
}
.customKey{
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    z-index: 33;
    .customBtn{
        border: 1px solid $borderColor;
        background: white;
        padding: 1rem 1rem 1rem 0;
        display: flex;
        button{
            flex: 1;
            border: 1px solid $borderColor;
            border-radius: 2rem;
            margin-left: 1rem;
            background: none;
            height: 2rem;
            color: #979797;
        }
    }
}
.customDialogue{
    padding: 1rem;
    button{
        border-radius: 4px;
        background: #b2b2b2;
        border: none;
        outline: none;
        color: white;
        padding: 0 1rem;
    }
    input{
        height: 3rem;
        line-height: 3rem;
        margin-right: 1rem;
        border: none;
        background: none;
        border-bottom: 1px solid $borderColor;
        font-size: 1.5rem;
    }
}
.discussTab{
    @include flex;
    background: white;
    li{
        @include flexcell;
        text-align: center;
        height: 3.5rem;
        line-height: 3.5rem;
        border-bottom: 2px solid $cf5;
        &.active{
            color: $red;
            border-color: $red;
        }
    }
}
.discussCon{
    padding: 1rem;
    background: white;
    .discussDiv{
        border-bottom: 1px solid $borderColor;
        padding: 1rem 0;
        .discussUser{
            align-items: center;
            .userImg img{
                width: 24px; height: 24px;
                border-radius: 100%;
                margin-right: 0.5rem;
            }
            .discussStar{
//              width: 120px;
            }
        }
        .goodTit{
            color: $txtcolor;
            line-height: 3rem;
        }
        .discussTxt{
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        .discussPhoto{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin-left: -10px;
            margin-bottom: 1rem;
            li{
                margin-left: 10px;
                margin-bottom: 1rem;
                img{
                    width: 80px; height: 80px;
                }
            }
        }
        .getJifen{
            color: $red;
            text-align: right;
            font-size: 1.2rem;
        }
    }
}
.discussP{
    padding: 1rem;
    border-bottom: 1px solid $borderColor;
}

.orderMsg{
    background: white;
    display: flex;
    li{
        flex: 1;
        text-align: center;
        span{
            border-bottom: 1px solid white;
            display: inline-block;
            padding: 0 1rem;
            line-height: 4rem;
        }
        &.active span{
            color: $red;
            border-color: $red;
        }
    }
}
.orderMsgCon li{
    background: white;
    margin: 2rem 1rem;
    border-radius: 6px;
    padding: 1rem;
    .orderMsgP{
        font-size: 1.5rem;
        color: #42c23c;
        margin-bottom: 1rem;
    }
    .msgDiv{
        display: flex;
        img{
            width: 60px;
            height: 60px;
        }
        .orderMsgTitle{
            margin-left: 1rem;
            display: flex;
            flex-wrap: wrap;
            align-content: space-around;
            p{
                color: $bigTitle;
            }
            em{
                font-size: 1.2rem;
                color: $txtcolor;
            }
        }
    }
}

.balanceDiv{
    text-align: center;
    background: white;
    padding: 2rem 0;
    margin: 1rem 0;
    color: $smallTitle;
    .useBalance{
        color: $red;
        font-size: 2.8rem;
    }
    .allBalance{
        border-top: 1px solid $borderColor;
        padding: 1rem;
        margin-top: 2rem;
    }
}
.submitBut{
    text-align: center;
    margin-top: 3rem;
    button{
        background: $red;
        color: white;
        width: 50%;
        height: 3rem;
        border: none;
        border-radius: 4px;
    }
}
